<!--main-->
<div class="midder">
	<div class="mc">
    	<h1>{{seo.title}}</h1>
    	<div class="cleft">
        	

  <table width="100%" cellpadding="0" cellspacing="0" class="showtable">
      <tr>
        <td width="75" valign="top">
        {% if touser['userid'] > 0%}
        <a href="{{url('space/'~touser['doname'])}}" class="nbg">
       	 <img alt="{{touser['username']}}" style="padding:5px;" src="{{touser['face_48']}}">
        </a>
        {% else %}
         <img alt="{{touser['username']}}" style="padding:5px;" src="{{touser['face_48']}}">
        {% endif %}
        </td>
        <td valign="top">
   
          <div class="pl2">{{strUserinfo}}</div>
          <div class="pl2">时间: {{arrMessages['addtime']}}</div>
          <div class="ul"><span class="pl2">话题: </span><span class="m">{{arrMessages['title']}}</span></div>
          <div class="messagebox">
          {{arrMessages['content'] | nl2br}}
          </div>
          {% if type == 'inbox' %}
          	{% if arrMessages['userid'] != 0 %}
          <a class="submit"  title="回信" href="{{url('home/message/write/'~touser['userid'])}}">回信</a>&nbsp;&nbsp;&nbsp;&nbsp;
            {% endif %}
          <a class="gray-submit" onclick="return confirm('真的要删除消息吗?')" title="删除" href="{{url('home/message/doing?d=del&type=inbox&messageid='~arrMessages['messageid'])}}">删除</a>           
          {% endif %}
          {% if type == 'outbox' %}
          <a class="gray-submit" onclick="return confirm('真的要删除消息吗?')" title="删除" 
          href="{{url('home/message/doing?d=del&type=outbox&messageid='~arrMessages['messageid'])}}">删除</a>           
          {% endif %}
          </td>
      </tr>
  </table>

             
        </div>
        <div class="cright">
            <if condition="$type eq 'inbox'">
			<p class="pl2">&gt; <a href="{{url('home/message/ikmail/inbox')}}">返回到我的收件箱</a></p>
			<p class="pl2">&gt; <a href="{{url('space/'~touser['doname'])}}">去{{touser['username']}}的主页看看</a></p>
            </if>
            <if condition="$type eq 'outbox'">
			<p class="pl2">&gt; <a href="{{url('home/message/ikmail/outbox')}}">回我的发件箱</a></p>
            <p class="pl2">&gt; <a href="{{url('home/message/ikmail/inbox')}}">去我的收件箱</a></p><br/>
			<p class="pl2">&gt; <a href="{{url('space/'~touser['doname'])}}">去{{touser['username']}}的主页看看</a></p>
            </if>           
        </div>
    </div>
</div>
